// 全局样式
page {
  background-color: #f5f5f5;
  font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

// 基础样式类
.container {
  padding: 16rpx 32rpx;
}

.card {
  background-color: #ffffff;
  border-radius: 24rpx;
  padding: 32rpx;
  margin-bottom: 32rpx;
  box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: #0ea5e9;
  color: #ffffff;
  padding: 24rpx 48rpx;
  border-radius: 24rpx;
  font-weight: 500;
  text-align: center;
  border: none;
}

.btn-primary:active {
  background-color: #0284c7;
}

.btn-secondary {
  background-color: #d946ef;
  color: #ffffff;
  padding: 24rpx 48rpx;
  border-radius: 24rpx;
  font-weight: 500;
  text-align: center;
  border: none;
}

.btn-secondary:active {
  background-color: #c026d3;
}

// 布局类
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

// 间距类
.p-4 {
  padding: 32rpx;
}

.p-6 {
  padding: 48rpx;
}

.px-4 {
  padding-left: 32rpx;
  padding-right: 32rpx;
}

.py-2 {
  padding-top: 16rpx;
  padding-bottom: 16rpx;
}

.py-3 {
  padding-top: 24rpx;
  padding-bottom: 24rpx;
}

.mb-2 {
  margin-bottom: 16rpx;
}

.mb-3 {
  margin-bottom: 24rpx;
}

.mb-4 {
  margin-bottom: 32rpx;
}

.mb-6 {
  margin-bottom: 48rpx;
}

.mt-6 {
  margin-top: 48rpx;
}

// 文字样式
.text-2xl {
  font-size: 48rpx;
  line-height: 1.2;
}

.text-4xl {
  font-size: 72rpx;
  line-height: 1.1;
}

.text-lg {
  font-size: 36rpx;
  line-height: 1.4;
}

.text-sm {
  font-size: 28rpx;
  line-height: 1.4;
}

.font-bold {
  font-weight: bold;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.text-white {
  color: #ffffff;
}

.text-gray-500 {
  color: #6b7280;
}

.text-gray-600 {
  color: #4b5563;
}

// 背景色
.bg-white {
  background-color: #ffffff;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-gray-100 {
  background-color: #f3f4f6;
}

// 圆角
.rounded-lg {
  border-radius: 24rpx;
}

.rounded-b-3xl {
  border-bottom-left-radius: 48rpx;
  border-bottom-right-radius: 48rpx;
}

// 阴影
.shadow-sm {
  box-shadow: 0 1rpx 2rpx rgba(0, 0, 0, 0.05);
}

// 网格布局
.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gap-3 {
  gap: 24rpx;
}

.gap-4 {
  gap: 32rpx;
}

// 渐变背景
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

// 透明度
.opacity-90 {
  opacity: 0.9;
}

.opacity-75 {
  opacity: 0.75;
}
